﻿Ext.define("PSI.Const", {
    statics: {
        REQUIRED: '<span style="color:red;font-weight:bold" data-qtip="必录项">*</span>',
        LOADING: "数据加载中...",
        SAVING: "数据保存中...",
        APP_TITLE_SFX: " - PSI2014",
        NewGuid: newGuid()
    }
});
function newGuid() {
    var guid = "";
    for (var i = 1; i <= 32; i++) {
        var n = Math.floor(Math.random() * 16.0).toString(16);
        guid += n;
        if ((i == 8) || (i == 12) || (i == 16) || (i == 20))
            guid += "-";
    }
    return guid;
}
